
// 表格的每列配置   后续需要可继续在这添加
import {minWidth} from "@/utils/width/columns"

export const columnsStatic = [
  { prop: 'library_id', label: '短剧ID', align: 'center', width: 60 },
  { prop: 'title', label: '短剧名', align: 'center', width: 'auto' },
  { slot: 'cover', label: '封面', align: 'center', width: 100 },
  { prop: 'classify_text', label: '分类', align: 'center', width: 'auto' },
  { slot: 'episode', label: '剧集', align: 'center', width: 'auto' },
  { prop: 'is_end_text', label: '完结状态', align: 'center', width: 'auto' },
  { prop: 'is_publish_text', label: '上架状态', align: 'center', width: 'auto' },
  { prop: 'price', label: '单集定价', align: 'center', width: 'auto' },
  { prop: 'charge_plot_num', label: '收费起始集', align: 'center', width: 'auto' },
  { prop: 'copyright_text', label: '版权', align: 'center', width: 'auto' },
  { prop: 'compendium', label: '责编', align: 'center', width: 'auto' },
  { prop: 'intro', label: '简介', align: 'center', width: 'auto', showOverflowTooltip: true },
  { slot: 'created_at', label: '添加时间', align: 'center', width: 'auto' },
  { slot: 'action' }
]

export const columnsDetail = [
  { prop: '', label: '剧集ID', selection: true, align: 'center' },
  { prop: 'episode_id', label: '剧集ID', align: 'center' },
  { prop: 'episode', label: '第几集', align: 'center' },
  { slot: 'cover', label: '时长', align: 'center' },
  { prop: 'episode_price', label: '价格', align: 'center' },
  { prop: 'video_size_mb', label: '视频大小', align: 'center' },
  { prop: 'is_publish_text', label: '上架状态', align: 'center' },
  { prop: 'convert_status_text', label: '转码状态', align: 'center' },
  { prop: 'updated_at', label: '操作时间', align: 'center', width: 150 },
  { prop: 'video', label: '视频地址', align: 'center', width: 300 },
  { slot: 'action' }
]

export const columnsSelectMp = [
  { prop: '', type: 'selection', align: 'center', width: minWidth },
  { prop: 'product_id', label: '小程序ID', align: 'center' },
  { prop: 'product_name', label: '小程序名称', align: 'center' }
]
